<script lang="ts" setup>
import userhome from '@/store'
const { home } = userhome()
home.gethomeList()
</script>
<template>
  <div class="home-banner">
    <!-- 轮播图 -->
    <Xtxcarsouel :slides="home.homelist"/>
  </div>
</template>

<style scoped lang="less">
.home-banner {
  width: 1240px;
  height: 500px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 98;
  // background-color: pink;
  :deep(.xtx-carousel .carousel-btn.prev[data-v-5301a782]) {
    left: 270px;
}
}
</style>